package yf.mall.vo.web;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class CommitVO {


    //抵扣的优惠券 自己的券与最多可使用的券比较得来的
    private BigDecimal maxCoupon;

    //抵扣的现金券
    private BigDecimal maxCash;

    //物流费
    private BigDecimal logFee;

    //我的优惠券
    private BigDecimal coupon;

    //我的现金券
    private BigDecimal cash;


   //订单总价
    private BigDecimal orderPrice;

    //商品总价
    private BigDecimal totalPrice;

    //产品明细
    private List<CommitGoodsVO> items;

    //UUID 先分配 防止重复提交订单
    private String orderNo;

    //vip用户 管理人员
    private List<VipUserVO> vipUsers;

    //是否可以转货
    private Boolean transfer ;



}
